#ifndef _GAMEENGINE_H_
#define _GAMEENGINE_H_


//#include "HelloWorldScene.h"
#include "Player.h"
#include "someDefineForTest.h"

//Player* player = NULL;

class GameEngine
{
public:
	virtual ~GameEngine(void);

	static GameEngine* getInstanse();

	void GameResultProcess(Player* winner, Player* loser);

	//void fight(Player* user , Player* NPC);
	//
	Player* player;
	Player* NPC;

protected:
	GameEngine(void);

	static GameEngine* instance;

	class Garbo
	{
	public:
		~Garbo()
		{
			if (GameEngine::instance != NULL)
			{
				delete GameEngine::instance;
				GameEngine::instance = NULL;
			}
		}
	};
	static Garbo garbo;
};


#endif